package com.trdcore.zyzkt.vo.vod;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @author helen
 * @since 2020/6/6
 */
@Schema(description = "课程章节对象")
@Data
public class ChapterVo {

    @Schema(title ="章节ID")
    private Long id;
    @Schema(title ="章节标题")
    private String title;
    @Schema(title ="排序")
    private Integer sort;
    @Schema(title ="章节下的课时列表")
    private List<VideoVo> children = new ArrayList<>();
}